package com.x.client.bean

import android.os.Parcelable
import com.chad.library.adapter.base.entity.MultiItemEntity
import com.google.gson.annotations.SerializedName
import com.x.client.adapter.ConfAdapter
import kotlinx.android.parcel.Parcelize

/**
 *  Creator : GG
 *  Time    : 2017/11/24
 *  Mail    : gg.jin.yu@gmail.com
 *  Explain :
 */
@Parcelize
data class ChildCarConf(
        @SerializedName("confId") var confId: Int? = 0, //1001
        @SerializedName("confName") var confName: String? = "", //手动车窗
        @SerializedName("confSeq") var confSeq: Int? = 0, //1
        @SerializedName("confKey") var confKey: String? = "",
        @SerializedName("confParentId") var confParentId: Int? = 0, //1
        @SerializedName("selectedState") var selectedState: Boolean? = false, //false
        var confValue: String? = null
) : MultiItemEntity ,Parcelable{

    override fun getItemType(): Int = ConfAdapter.TYPE_LEVEL_1

}